package com.yuanyu.common.util;

import org.springframework.util.DigestUtils;

public class PasswordUtil {
    public static String MD5Cipher(String password){
        return DigestUtils.md5DigestAsHex(
                DigestUtils.md5DigestAsHex(
                        password.getBytes()
                ).getBytes());
    }
}
